package assignment10;

import java.io.*;

public class BufferWriter {
	public static void main(String[] args) throws IOException{
		String filename = "G:\\Users\\IOtest\\buffer.txt";
		BufferedWriter bfw = new BufferedWriter(new FileWriter(filename));
		bfw.write(filename);
		bfw.newLine();
		bfw.write("Hello World");
		bfw.newLine();
		bfw.close();
	}
}